

    \filetitle{companion}{Matrices of first-order companion VAR}{VAR/companion}

	\paragraph{Syntax}\label{syntax}

\begin{verbatim}
[A,B,K,J] = companion(V)
\end{verbatim}

\paragraph{Input arguments}\label{input-arguments}

\begin{itemize}
\itemsep1pt\parskip0pt\parsep0pt
\item
  \texttt{V} {[} VAR {]} - VAR object for which the companion matrices
  will be returned.
\end{itemize}

\paragraph{Output arguments}\label{output-arguments}

\begin{itemize}
\item
  \texttt{A} {[} numeric {]} - First-order companion transition matrix.
\item
  \texttt{B} {[} numeric {]} - First-order companion coefficient matrix
  in front of reduced-form residuals.
\item
  \texttt{K} {[} numeric {]} - First-order compnaion constant vector.
\end{itemize}

\paragraph{Description}\label{description}

\paragraph{Example}\label{example}


